package com.chanzany.interview_secondary.jvm.jvm_04_OOM;

import java.util.concurrent.TimeUnit;

public class JavaHeapSpaceError {
    public static void main(String[] args) {
        //-Xms10m -Xmx10m
        //Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

        byte[] bytes = new byte[1024 * 1024 * 11];
    }
}
